package com.gilight.base.admin.brand;

import com.gilight.base.base.exception.ServiceException;
import com.gilight.base.model.BrandDo;
import com.gilight.base.model.Page;

;

/**品牌推销
 * Created with IntelliJ IDEA.
 * Description:
 * User: kbq
 * Date: 2019-07-08
 * Time: 下午8:23
 */

public interface AdminBrandService {

    /**
     *
     * @param brandName  品牌名称
     * @param imgUrl 品牌图片地址
     * @param status 品牌状态
     * @param orderC
     * @param myimgUrl
     * @param favicon
     * @param inBuildUrl
     * @return
     * @throws ServiceException
     */
    public String create(
            String brandName,
            String imgUrl,
            Integer status,
            Integer orderC, String myimgUrl, String favicon, String inBuildUrl) throws ServiceException;

    /**
     * 删除
     * @param adId 品牌ID
     * @return
     * @throws ServiceException
     */
    public String delete(
            Long adId) throws ServiceException;

    /**
     *
     * @param bdId 品牌ID
     * @param brandName 品牌名称
     * @param imgUrl 品牌图片地址
     * @param status 品牌状态
     * @param orderC
     * @param myimgUrl
     * @param favicon
     * @param inBuildUrl
     * @return
     * @throws ServiceException
     */
    public String edit(
            Long bdId,
            String brandName,
            String imgUrl,
            Integer status,
            Integer orderC, String myimgUrl, String favicon, String inBuildUrl) throws ServiceException;

    /**
     *
     * @param page
     * @param limit
     * @param status 品牌状态
     * @return
     * @throws ServiceException
     */
    public Page<BrandDo> list(
             Integer page,
             Integer limit,
             Integer status) throws ServiceException;

    BrandDo getById(Long id);
}
